//
//  BigSecondView.m
//  7.13苏宁框架
//
//  Created by mini on 15/7/20.
//  Copyright (c) 2015年 lovena. All rights reserved.
//

#import "BigSecondView.h"
#import "Common.h"
@implementation BigSecondView

+(instancetype)createListView
{
    return [[[NSBundle mainBundle]loadNibNamed:@"BigSecondView" owner:nil options:nil]lastObject];
}

//-(void)awakeFromNib
//{
//    if (self.height == 35) {
//        self.listView.hidden = YES;
//    }
//    else
//    {
//        self.listView.hidden = NO;
//    }
//}

- (IBAction)ButtonClick {
    int height;
    if (_listView.hidden) {
     height = 220;
        }
    else
    {
     height = 35;
    }
    [self.delegate refreshList:height];
}
@end
